package com.googlecode.kipler.container.dl.creational;

import com.googlecode.kipler.container.dl.World;

/**
 * 
 * @author İnanç Seylan
 * 
 */
public class ConcreteWorldFactory extends WorldFactory {
	private ContainerType wcsType;
	
	private boolean unfoldableTBox;

	public ConcreteWorldFactory(ContainerType wcsType, boolean unfoldableTBox) {
		this.wcsType = wcsType;
		this.unfoldableTBox = unfoldableTBox;
	}

	@Override
	public World createWorld() {
		return new World(BoxFactory.getFactory(wcsType, unfoldableTBox));
	}

}
